
package com.be.beadmin.logging.repository;

import com.be.beadmin.logging.entity.Log;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
* @author chenwei
* @date 2022-12-27
**/
public interface LogRepository extends JpaRepository<Log, String>, JpaSpecificationExecutor<Log> {

    Log findLogByIdAndDelete(String id, Integer delete);

    Log findLogById(String id);

}